home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Franz PD / Franz PD Disk #318 (1994-03)(Rhein-Sieg-Soft).zip / Franz PD Disk #318 (1994-03)(Rhein-Sieg-Soft).adf / Bilder / SuperView.docs < prev    next >
Text File  |  1993-08-26  |  12KB  |  372 lines

  1.  
  2.     SuperView,   An IFF display program.  by  David  Grothe  V 3.1
  3.     Release Date   02-21-91
  4.  
  5.     *
  6.     * Copyright 1989, 1990, 1991 by David Grothe
  7.     * All rights reserved.
  8.     *
  9.     * This program is Shareware,  if you use this program
  10.     * you must send $10 to: 
  11.     *
  12.     * David Grothe
  13.     * 13000 Springcreek CT
  14.     * Okla City, OK  73170
  15.     *
  16.     * If you have sent in the shareware on version 2.x, or 3.0, then you 
  17.     * need not send in shareware for this version..  And thank you!
  18.     *
  19.     * You may pass the program around as long as this Doc file 
  20.     * remains a part of it.
  21.     *
  22.     * If you would like to distribute this program with your 
  23.     * software, you must contact me first.
  24.     * 
  25.  
  26.  
  27. SuperView is a program that will display IFF pictures of all types 
  28. on the Amiga.  The program supports the following features:
  29.  
  30.     Multiple files on one command line.
  31.     WorkBench  (icons) are supported.
  32.     All display modes supported.
  33.     Auto Overscan
  34.     Color Cycle ( DPaint and GraphiCraft types)  CRNG  CCRT
  35.     AmigaBasic  ACBM  type image files
  36.     Author and Announcement chunks supported
  37.     Display Animations.  (Type 5 - DPaintIII, VideoScape2.0)
  38.     Displays the first cell in an ANIM file
  39.     Written in Assembly, PURE code that can be resident under 1.3 and up
  40.  
  41. * NEW * for 3.1
  42.  
  43. Version 3.1 is a complete rewrite of some of the loading code that SuperView
  44. used.  The reason for this was to be a little more flexible with the new
  45. ANIM types that are coming out.  Many bugs have popped up with version 3.0,
  46. most dealing with the Animations and others with the new Workbench 2.0.
  47. I think I have gotten almost all of the bugs out before the release this time..
  48.  
  49. Here is a list of all of the new things for 3.1:
  50.  
  51.   More controls have been added to help you control SuperView after the 
  52.   picture is loaded.  These include:
  53.  
  54.     P     Turns the pointer on or off.
  55.     I    Displays Information screen.
  56.     A    Displays Author test.  (Also ANNO Text)
  57.     F1    Speed up Animation
  58.     F2    Slow down Animation
  59.  
  60.     Up, Down, Left, Right Arrows move the screen offset around.
  61.  
  62.   Displays SHAM and SLOP (optimized SHAM) pictures.
  63.  
  64.   Supports the ANNO chunk the same as the AUTH chunk.
  65.  
  66.   Supports a color map change for each frame of an animation.
  67.  
  68.   Allows you to enter options in the pictures' file comment.  These options 
  69.   will be used when displaying the picture.  For example, if you want a
  70.   certain picture not to color cycle,  put a -c in the file note.  When 
  71.   SuperView finds the option, it won't cycle the picture.  This can also
  72.   be used to position certain pictures on the screen the way you like.
  73.  
  74.   The -d option is no longer used.  SuperView will automatically see that
  75.   you are trying to show a directory.   i.e.   SuperView PIC:
  76.  
  77.  
  78.  
  79. Display options include the following:
  80.  
  81.     -c         Suppress Color Cycling
  82.     -f <file>    Read a text file for picture names
  83.     -h<n>       Change the display height of a picture
  84.     -j<n>        Force <n> Jiffies between frames
  85.     -m<x>       Select view modes.
  86.     -n        No ANIM, show picture only
  87.     -o           Override the Auto Overscan 
  88.     -p           Disables Pointer Clearing
  89.     -r           Repeat command line
  90.     -s<n>        Display picture for n seconds
  91.     -v        Stop Animation after one time through.
  92.     -w<n>        Change the display width
  93.     -x<n>        Change the position of the display area x
  94.     -y<n>        Change the position of the display area y
  95.  
  96.  
  97. Controls:
  98.  
  99.     Left Mouse Button     Scrolls around in a picture
  100.     Right Mouse Button     Continues to next picture
  101.     TAB             Starts and stops the color cycling
  102.     ESC             Aborts the command line
  103.     SpaceBar        Starts and stops animations
  104.     Return            Step through animation
  105.  
  106. * NEW  CONTROLS *
  107.  
  108.     P     Turns the pointer on or off.
  109.     I    Displays Information screen.
  110.     A    Displays Author test.  (Also ANNO Text)
  111.     F1    Speed up Animation
  112.     F2    Slow down Animation
  113.  
  114.     Up, Down, Left, Right Arrows move the screen offset around.
  115.  
  116.  
  117. Using SuperView from WorkBench.
  118.  
  119. SuperView has a complete WorkBench (Icon) interface built in.  
  120. To use SuperView from WorkBench, you must have an icon for your picture. 
  121. Most all paint programs build icons for you as you save a picture, so 
  122. this should not be a problem.  There are two ways to view pictures at 
  123. this point.  The easy way is to click once on the picture icon, hold 
  124. down the shift key, and then double click the SuperView icon.  You can 
  125. reverse this and click once on the SuperView icon and double click your 
  126. picture icon.  To view more that one picture,  you hold down the shift 
  127. key and click each picture that you want to show and the SuperView icon.  
  128. You don't have to select the icons in any kind of order as long as you 
  129. double click the last icon you select.  The pictures will be displayed 
  130. in the order that you select them.  You can also make the picture icon 
  131. itself run SuperView by putting SuperView in the default tool of the 
  132. icon.  This way you can just double click the picture icon to view it.  
  133. For a detailed description of how this is done, see the article in 
  134. Ami Exchange Mag V1.4.  
  135.  
  136. After the picture is loaded from workbench, you can stop and start the 
  137. color cycling with the TAB key, hold down the left mouse button to 
  138. scroll around in a large bitmap picture, press the right mouse button 
  139. to go to the next picture,  or press the ESC key to abort. Pressing the 
  140. ESC key will remove the current picture and cancel out any pictures that 
  141. you had selected that you have not viewed yet.
  142.  
  143.  
  144. Using SuperView from the CLI
  145.  
  146. Here is where the real power of SuperView comes out.  
  147. From the CLI,  you can choose many display options that allow you to 
  148. view a picture in different ways.  The command line from the CLI is
  149.  
  150. 1> SuperView [option[...]] <fileName> [[option[...]] <fileName>].... 
  151.  
  152. You can use up to 255 characters on the command line.  
  153. Here is a list of the options and how to use them.
  154.  
  155.  
  156.     -c    Suppress Color Cycling
  157.  
  158. This option will prevent the picture from color cycling.  If you use this 
  159. option,  the spacebar will not start color cycling.  
  160.  
  161. Example:
  162.  
  163. 1> SuperView -c <Picture>
  164.  
  165.  
  166.     -f <file>    Read a text file for picture names
  167.  
  168. This option will read a text file and use it as a script to display 
  169. pictures.  The format of the file is the same as the format of each 
  170. picture on the command line.  
  171.  
  172. Example:
  173.  
  174. -s10 MyPicture
  175. -s10 -c df0:
  176. GreatPic
  177. -x200 -y100 BigPic
  178.  
  179. Each picture in the file can have its own options.  When all of the files 
  180. have been displayed,  SuperView will continue with the rest of the 
  181. command line.
  182.  
  183. Example:
  184.  
  185. 1> SuperView -f MyScript
  186. 1> SuperView -f MyScript -r
  187. 1> SuperView -f MyScript -s10 <Picture>
  188.  
  189.  
  190.     -h<n>   Change the display height of a picture
  191.     -w<n>    Change the display width
  192.  
  193. These two options change the display size of a picture.  You can use one 
  194. or both of them on a picture.  These options change the display size of 
  195. the picture, not the size of the picture.   If you tell it to use a 
  196. smaller display size than the picture is, you will be able to scroll 
  197. around in the smaller display area.  The best way to under stand this may 
  198. be to try it.   
  199.  
  200. Example:
  201.  
  202. 1> SuperView -w320 -h200 <Picture>
  203. 1> SuperView -w320 -h200 -m <Picture>
  204. 1> SuperView -w200 -h100 -x60 -y50 <Picture>
  205.  
  206.  
  207.     -j<n>   Force <n> Number of Jiffies between frames
  208.  
  209. When displaying an animation, this will allow you to change the 
  210. playback speed.  A Jiffy is 1/60th of a second, so the greater the
  211. number, the slower the animation is.
  212.  
  213. Example:
  214.  
  215. 1> SuperView -j6 Cry
  216.  
  217.  
  218.     -m<x>   Select view modes  
  219.     h = HAM 
  220.     r = HiRes 
  221.     l =Lace
  222.     b = HalfBrite
  223.  
  224. This will allow you to change any display modes that you want.  The 
  225. display modes that are supported are,  Hi-Res (640 display), 
  226. Lace (interlace), HAM (Hold And Modify), and Extra-HalfBrite.  If you 
  227. just select -m option without any letters following it, all modes will be 
  228. cleared.  If the modes are clear, you will get a standard lo-res screen.  
  229. This is good for taking a Hi-Res, Lace picture and making it Lo-Res.
  230.  
  231. Example:
  232.  
  233. 1> SuperView -w320 -h200 -m <Picture>
  234. 1> SuperView -w320 -h200 -ml <Picture>
  235.  
  236. This will give you a 320 X 200 picture of <Picture> that you can scroll 
  237. around in.  
  238.  
  239.     -n   No Animation.
  240.  
  241. Use this flag to prevent SuperView from playing an animation.  SuperView
  242. will go ahead and load the first frame and treat it as a normal picture.
  243.  
  244.  
  245.     -o   Override the Auto Overscan 
  246.  
  247. This will cause SuperView to display the picture exactly like the IFF 
  248. file said to.  No attempt to size or place the picture is made.
  249.  
  250. Example:
  251.  
  252. 1> SuperView -o <Picture>
  253.  
  254.  
  255.     -p   Disables Pointer Clearing
  256.  
  257. If you don't want your pointer to disappear when showing the picture,  
  258. then use this option.
  259.  
  260. Example:
  261.  
  262. 1> SuperView -p <Picture>
  263.  
  264.  
  265.     -r   Repeat command line
  266.  
  267. This will cause SuperView to repeat the command line in a loop.  With 
  268. this option, the -s and -d or -f options, you can make a slide show.  
  269. This is the only option that you put after everything else and everything 
  270. past the -r is ignored.  The only way to stop this is to hit the ESC key.
  271.  
  272. Example:
  273.  
  274. 1> SuperView <Picture> <Picture> -r
  275. 1> SuperView -s10 <Picture> -s5 <Picture> -r
  276.  
  277.  
  278.     -s<n>  Display picture for n seconds
  279.  
  280. This option will remove the picture after n seconds.  You can still 
  281. continue by pressing the right mouse button or ESC key. 
  282.  
  283. Example:
  284.  
  285. 1> SuperView -s10 <Picture>
  286. 1> SuperView -s10 df1:
  287.  
  288.  
  289. -vPlay once only.
  290.  
  291. This option will cause SuperView to play through an Animation only
  292. one time.  Some Animations do not loop and need this flag to display
  293. correctly.
  294.  
  295.  
  296.     -x<n>    Change the position of the display area x
  297.     -y<n>    Change the position of the display area y
  298.  
  299. The -x and -y options are used to position the display area on the screen. 
  300. For overscan, you need to shift the picture to the left and up from the 
  301. normal 0x 0y so you use  -x-16 to shift left and -y-8 to shift up. Also, 
  302. if you want to change the display size with the -w and -h options, you 
  303. can center the smaller screen with these options.
  304.  
  305. Example:
  306.  
  307. 1> SuperView -x20 -y10 <Picture>
  308. 1> SuperView -w200 -h100 -x60 -y50 <Picture>
  309.  
  310.  
  311.  
  312. About the animation.  SuperView will now display type 5 animations.
  313. Type 5 animations are the ones use by DPaintIII and VideoScape2.0
  314. All of the other options will still function with the animation.  
  315. To stop an animation, press the spacebar.
  316. After the animation is stopped, you can step through it using the return
  317. key.  ColorCycling remains in active during the animation unless you 
  318. press the TAB key or use the -c option.  Due to the size of animation
  319. files, when you move from an animation to the next picture/animation
  320. the animation will stop while the next is loaded.  Before loading the 
  321. next picture/animation, SuperView will free all of the animation data,
  322. free the second bitmap (double-buffer), and leave the last frame still
  323. showing like a normal picture while loading the next.
  324.  
  325.  
  326. Fixed in 3.0
  327. Overscan now works correctly.
  328.  
  329. You can now start the color cycling even it you use the -c option.
  330.  
  331. The delay function now waits for the correct time between two pictures
  332. even if you press the right mouse button.
  333.  
  334.  
  335. If you have any problems with the program, you can leave me a message
  336. on Amy Source BBS at (405) 793-1097....
  337.  
  338.  
  339.  
  340. On more thing for 3.1.  It now return error codes for different reasons.
  341. The following is a list of the error codes returned.
  342.  
  343.  
  344. 20    Picture is a RGB file.
  345. 21    Memory allocation failure for AUTH chunk
  346. 22    Memory Allocation failure for Color cycling chunk
  347. 23    Memory Allocation failure for Color map
  348. 24    Unknown compression type
  349. 25    Unable to allocate main structure
  350. 26    Unable to open the file
  351. 27    Read error
  352. 28    Memory allocation for Misc chunks error.
  353. 29    Unknown file type.   (Not IFF)
  354. 30    Could not allocate a bitmap.
  355. 31    Could not open the timer device
  356. 32    Memory allocation failure for CCRT chunk.
  357. 33    Dynamic Ham or Hi-res picture
  358. 34    Memory allocation failure for Main Animation structure
  359. 35    Memory allocation failure for an Animation frame node.
  360. 36    Invalid ANIM format
  361. 37    Two DLTA chunks in one FORM ILBM section.
  362. 38    Misc Memory allocation error.
  363. 39    Could not lock the file
  364.  
  365.  
  366. There is a program called GetError and a script file that I have supplied
  367. that will allow SuperView to dump off Dynamic Pictures to Dyna-Show
  368. If you are using Workbench 2.0 then you won't need the GetError and there
  369. is another script for 2.0.
  370.  
  371.  
  372.